package com.m1book.repositories.relation;

import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.MongoRepository;

import com.m1book.domain.relation.InviteTrace;

public interface InviteTraceRepository extends MongoRepository<InviteTrace, ObjectId> {
	
	/**
	 * 通过邀请序列号查找。
	 * @param inviteSN
	 * @return 邀请记录
	 */
	public InviteTrace findByinviteSN(String inviteSN);

}
